package File;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LXW
 * Date: 2022-04-03
 * Time: 21:38
 */
public class Demo5 {
    public static void main(String[] args) {
        File dir = new File("hello-world/some-dir");
        System.out.println(dir.exists());
        System.out.println(dir.isDirectory());
        System.out.println(dir.isFile());
        System.out.println(dir.mkdir());
        System.out.println(dir.exists());
        System.out.println(dir.isFile());
        System.out.println(dir.isDirectory());

    }
}
